<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>登录</title>
</head>

<body class="text-center">
    <!-- /user/login 是随便写的，Security会自动处理 -->
    <form action="/user/login" method="post">
        <h1 class="h3 mb-3 font-weight-normal">请登录</h1>

        <div>
            用户名：
            <input type="text" id="username" name="username" placeholder="请输入用户名">
        </div>

        <div>
            密  码：
            <input type="password" id="password" name="password" placeholder="请输入密码">
        </div>

        <div class="checkbox mb-3">
            <label>
                <input type="checkbox" name="remember-me"> 记住我
            </label>
        </div>
        <button type="submit">登 录</button>

    </form>
</body>
</html>